package com.qidian.zl.paper.service;

import com.qidian.zl.paper.pojo.Admin;
import com.qidian.zl.paper.util.StResult;

/**
 * @author Hello
 */
public interface AdminService {
    /**
     *
     * @param
     * @return
     */
    StResult queryByPage(int page, int size, Admin admin);
    int save(Admin admin);
    Admin login(String adminName,String adminPass);
    int update(Admin admin);
    Admin queryById(long adminId);

}
